package com.guoxin.chapter2.t16;

/**
 * @author guoxin
 * @date 2019年8月21日
 */
public class Run {
	public static void main(String[] args) throws InterruptedException {
		RunThread rt = new RunThread();
		Thread t = new Thread(rt);
		t.start();
		Thread.sleep(1000);
		rt.setRunning(false);
		System.out.println("已经赋值为false");
	}
}
